package 补充;

public class runrime类 {
    public static void main(String[] args) {
        Runtime runtime = Runtime.getRuntime();
        System.out.println("处理器"+runtime.availableProcessors());
        System.out.println("内存数"+runtime.freeMemory());
        System.out.println("总内存数"+runtime.totalMemory());
        System.out.println("最大可用内存数"+runtime.maxMemory());

    }
}
